package com.yckj.activechicken.business.common.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yckj.activechicken.business.common.model.ApproverInfo;
import com.yckj.activechicken.framework.aspectj.lang.annotation.Excel;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class ApproverInfoVo implements Serializable {
    /**
     * 流程定义id
     */
    private String id;

    @Excel(name = "流程名称")
    private String name;

    @Excel(name = "流程KEY")
    private String key;

    @Excel(name = "流程版本")
    private int version;

    @Excel(name = "流程描述")
    private String description;

    private String deploymentId;

    @Excel(name = "部署时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date deploymentTime;

    private List<ApproverInfo> approverInfoList;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDeploymentId() {
        return deploymentId;
    }

    public void setDeploymentId(String deploymentId) {
        this.deploymentId = deploymentId;
    }

    public Date getDeploymentTime() {
        return deploymentTime;
    }

    public void setDeploymentTime(Date deploymentTime) {
        this.deploymentTime = deploymentTime;
    }

    public List<ApproverInfo> getApproverInfoList() {
        return approverInfoList;
    }

    public void setApproverInfoList(List<ApproverInfo> approverInfoList) {
        this.approverInfoList = approverInfoList;
    }
}